WPStaging\Backend\Modules\Jobs\Job B

Total Complexity 92
Dependencies 14
Dependents 5
Total lines 525
Lines of code 254
Logical lines of code 145
Comment lines 144
Methods 23
Properties 11

Methods 23

Method Rating Maintainability Complexity Lines of code
writeAdvancedSettingsToLogs()
C
44 26 35
getLogFilename()
A
57 9 16
addJobSettingsToLogs()
A
50 8 26
isStagingDatabaseSameAsProductionDatabase()
A
55 8 18
isRunning()
S
61 6 12
isOverThreshold()
S
49 3 38
__construct()
S
56 4 18
saveOptions()
S
57 4 16
isNetworkClone()
S
71 3 6
isUpdateOrResetJob()
S
77 3 3
returnException()
S
62 2 12
log()
S
69 2 7
isMultisiteAndPro()
S
79 2 3
isExternalDatabase()
S
78 2 3
debugLog()
S
71 2 6
setupCacheFiles()
S
61 1 13
time()
S
70 1 6
getFilesIndexCacheFilePath()
S
78 1 3
getOptions()
S
82 1 3
initialize()
S
91 1 2
isPro()
S
80 1 3
excludeWpConfigDuringUpdate()
S
80 1 3
onWpShutdown()
S
91 1 2